package cn.xiyun.xiyuncc.feignClient;

import cn.xiyun.xiyuncc.domain.Login;
import cn.xiyun.xiyuncc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "service-uaa")
public interface LoginFeignClient {

     @RequestMapping(value="/login/save")
     JSONResult saveOrUpdate(@RequestBody Login login);
}
